package edu.whut.mall.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author wayne
 * @date 2020/10/17
 */
public class Merchant implements Serializable {
    /**
     * 商家id 商家id
     */
    private Long id;

    /**
     * 商家名 商家名
     */
    private String merchantName;

    /**
     * 商家logo 商家logo
     */
    private String merchantLogo;

    /**
     * 商家介绍 商家介绍
     */
    private String merchantIntroduction;

    /**
     * 商家地址 商家地址
     */
    private String merchantAddress;

    /**
     * 商家联系方式 商家联系方式
     */
    private String merchantContact;

    /**
     * 创建时间 创建时间
     */
    private Date createTime;

    /**
     * 更新时间 更新时间
     */
    private Date updateTime;

    /**
     * 法人代表 法人代表
     */
    private String legalPerson;

    /**
     * 商家证书 商家证书
     */
    private String merchantCertificate;

    /**
     * 商家微信账号 商家微信账号
     */
    private String merchantWxpayAccount;

    /**
     * 商家支付宝账号 商家支付宝账号
     */
    private String merchantAlipayAccount;

    /**
     * 收款流向
     */
    private Integer proceedsFlowDirection;

    /**
     * 商家入驻状态 商家入驻状态
     */
    private Integer merchantStatus;

    /**
     * 备注 备注
     */
    private String remark;

    /**
     * 商家支付key

     */
    private String companyKey;

    /**
     * 是否删除
     */
    private Integer isDeleted;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getMerchantLogo() {
        return merchantLogo;
    }

    public void setMerchantLogo(String merchantLogo) {
        this.merchantLogo = merchantLogo;
    }

    public String getMerchantIntroduction() {
        return merchantIntroduction;
    }

    public void setMerchantIntroduction(String merchantIntroduction) {
        this.merchantIntroduction = merchantIntroduction;
    }

    public String getMerchantAddress() {
        return merchantAddress;
    }

    public void setMerchantAddress(String merchantAddress) {
        this.merchantAddress = merchantAddress;
    }

    public String getMerchantContact() {
        return merchantContact;
    }

    public void setMerchantContact(String merchantContact) {
        this.merchantContact = merchantContact;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    public String getMerchantCertificate() {
        return merchantCertificate;
    }

    public void setMerchantCertificate(String merchantCertificate) {
        this.merchantCertificate = merchantCertificate;
    }

    public String getMerchantWxpayAccount() {
        return merchantWxpayAccount;
    }

    public void setMerchantWxpayAccount(String merchantWxpayAccount) {
        this.merchantWxpayAccount = merchantWxpayAccount;
    }

    public String getMerchantAlipayAccount() {
        return merchantAlipayAccount;
    }

    public void setMerchantAlipayAccount(String merchantAlipayAccount) {
        this.merchantAlipayAccount = merchantAlipayAccount;
    }

    public Integer getProceedsFlowDirection() {
        return proceedsFlowDirection;
    }

    public void setProceedsFlowDirection(Integer proceedsFlowDirection) {
        this.proceedsFlowDirection = proceedsFlowDirection;
    }

    public Integer getMerchantStatus() {
        return merchantStatus;
    }

    public void setMerchantStatus(Integer merchantStatus) {
        this.merchantStatus = merchantStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCompanyKey() {
        return companyKey;
    }

    public void setCompanyKey(String companyKey) {
        this.companyKey = companyKey;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", merchantName=").append(merchantName);
        sb.append(", merchantLogo=").append(merchantLogo);
        sb.append(", merchantIntroduction=").append(merchantIntroduction);
        sb.append(", merchantAddress=").append(merchantAddress);
        sb.append(", merchantContact=").append(merchantContact);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", legalPerson=").append(legalPerson);
        sb.append(", merchantCertificate=").append(merchantCertificate);
        sb.append(", merchantWxpayAccount=").append(merchantWxpayAccount);
        sb.append(", merchantAlipayAccount=").append(merchantAlipayAccount);
        sb.append(", proceedsFlowDirection=").append(proceedsFlowDirection);
        sb.append(", merchantStatus=").append(merchantStatus);
        sb.append(", remark=").append(remark);
        sb.append(", companyKey=").append(companyKey);
        sb.append(", isDeleted=").append(isDeleted);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}